//
//  JackConstantDevice.h
//  JackProduct
//
//  Created by Pei on 15/11/6.
//  Copyright © 2015年 Xiaobo Pei. All rights reserved.
//

#ifndef JackConstantDevice_h
#define JackConstantDevice_h


#define iPhone6Plus ([UIScreen mainScreen].bounds.size.height == 736)

#define iPhone6 ([UIScreen mainScreen].bounds.size.height == 667)


#define iPhone4 ([UIScreen mainScreen].bounds.size.height == 480)

#define iPhone5 ([UIScreen mainScreen].bounds.size.height == 568)


#ifndef IOS7
#define IOS7 [[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0
#endif

#ifndef IOS8
#define IOS8 [[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0
#endif

#endif /* JackConstantDevice_h */
